#include<iostream>
#include<math.h>
using namespace std;

const int MAXN=105;
double x[MAXN], y[MAXN], h[MAXN], xx, yy;
double m[MAXN], a[MAXN], b[MAXN];
int n;

int main(){
    scanf("%d", &n);
    for(int i=0;i<=n;i++){
        scanf("%lf %lf", &x[i], &y[i]);
    }
    scanf("%lf", &xx);
    for(int i=0;;i<n;i++){
        h[i] = x[i+1]-x[i];
    }

}